#pragma once

#include <vector>

#include <GL\glew.h>
#include <GL\freeglut.h>

#include <glm\glm.hpp>
#include <glm/gtc/matrix_transform.hpp>


class CuboGrua {
public:
	// Las dimensiones en cantidad de vertices
	CuboGrua();
	~CuboGrua();

	void dibujar(const glm::mat4 &viewMatrix, const glm::mat4 &projectionMatrix, const glm::vec4 &light_position, const glm::vec3 &light_intensity, const glm::mat4 &model, GLuint shaderProgramID) const;

private:

    // Cube vertex, normal e index buffer
    GLfloat* cube_vertex_buffer;
    GLfloat* cube_normal_buffer;
    GLuint* cube_index_buffer;
    unsigned int cube_vertex_buffer_size;
    unsigned int cube_normal_buffer_size;
    unsigned int cube_index_buffer_size;

};
